package com.uestc.pojo;

import java.util.Date;

public class News {
    private String id;

    private String title;

    private Long categoryId;

    private String categoryName;

    private String focusPicture;

    private String source;

    private Date createTime;

    private String content;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName == null ? null : categoryName.trim();
    }

    public String getFocusPicture() {
        return focusPicture;
    }

    public void setFocusPicture(String focusPicture) {
        this.focusPicture = focusPicture == null ? null : focusPicture.trim();
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

	@Override
	public String toString() {
		return "News [id=" + id + ", title=" + title + ", categoryId=" + categoryId + ", categoryName=" + categoryName
				+ ", focusPicture=" + focusPicture + ", source=" + source + ", createTime=" + createTime + ", content="
				+ content + "]";
	}
    
}